<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="layui-form timo-compile user-info-page">
    <div class="user-info">
        <ul class="detail-info">
            <li>应用名称：<span th:text="${app.name}" th:title="${app.name}"></span></li>
            <li>appName：<span th:text="${app.appName}" th:title="${app.appName}"></span></li>
            <li>任务名称：<span th:text="${job.jobName}" th:title="${job.jobName}"></span></li>
            <li>任务处理器：<span th:text="${job.handlerName}" th:title="${job.handlerName}"></span></li>
        </ul>
    </div>
    <form class="user-edit" th:action="@{'/job/trigger/' + ${job.id}}">
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入执行参数" class="layui-textarea" name="param" th:text="${job.triggerParam}"></textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 执行</button>
            <a class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</a>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
<script type="text/javascript" th:src="@{/js/plugins/jquery-3.3.1.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/jquery.mousewheel.min.js}"></script>
</body>
</html>